home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
NextDeveloper
/
Headers
/
appkit
/
ClipView.h
< prev
next >
Wrap
Text File
|
1992-09-11
|
2KB
|
86 lines
/*
ClipView.h
Application Kit, Release 2.0
Copyright (c) 1988, 1989, 1990, NeXT, Inc. All rights reserved.
*/
#import "View.h"
#import "color.h"
@interface ClipView : View
{
float backgroundGray;
id docView;
NXRect _docRect;
id cursor;
void *_private;
struct __clFlags {
#ifdef __BIG_ENDIAN__
unsigned int isGraySet:1;
unsigned int _RESERVED:11;
unsigned int _onlyUncovered:1;
unsigned int _reflectScroll:1;
unsigned int _usedByCell:1;
unsigned int _scrollClipTo:1;
#else
unsigned int _scrollClipTo:1;
unsigned int _usedByCell:1;
unsigned int _reflectScroll:1;
unsigned int _onlyUncovered:1;
unsigned int _RESERVED:11;
unsigned int isGraySet:1;
#endif
} _clFlags;
}
+ initialize;
- initFrame:(const NXRect *)frameRect;
- setBackgroundGray:(float)value;
- (float)backgroundGray;
- setBackgroundColor:(NXColor)color;
- (NXColor)backgroundColor;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- setDocView:aView;
- docView;
- getDocRect:(NXRect *)aRect;
- setDocCursor:anObj;
- resetCursorRects;
- getDocVisibleRect:(NXRect *)aRect;
- descendantFrameChanged:sender;
- descendantFlipped:sender;
- setCopyOnScroll:(BOOL)flag;
- setDisplayOnScroll:(BOOL)flag;
- autoscroll:(NXEvent *)theEvent;
- constrainScroll:(NXPoint *)newOrigin;
- rawScroll:(const NXPoint *)newOrigin;
- write:(NXTypedStream *)stream;
- read:(NXTypedStream *)stream;
- free;
- rotate:(NXCoord)angle;
- rotateTo:(NXCoord)angle;
- setDrawRotation:(NXCoord)angle;
- awake;
- moveTo:(NXCoord)x :(NXCoord)y;
- sizeTo:(NXCoord)width :(NXCoord)height;
- setDrawOrigin:(NXCoord)x :(NXCoord)y;
- setDrawSize:(NXCoord)width :(NXCoord)height;
- translate:(NXCoord)x :(NXCoord)y;
- scale:(NXCoord)x :(NXCoord)y;
/*
* The following new... methods are now obsolete. They remain in this
* interface file for backward compatibility only. Use Object's alloc method
* and the init... methods defined in this class instead.
*/
+ newFrame:(const NXRect *)frameRect;
@end
@interface View(ClipViewSuperview)
- reflectScroll:aClipView;
- scrollClip:aClipView to:(const NXPoint *)aPoint;
@end